<template>
  <div id="recommend">
    <div class="title">
      <div class="img"><img src="../../../assets/imgs/zan.png" alt=""></div>
      去哪儿推荐
    </div>
    <recommendlist :list="list"></recommendlist>
  </div>
</template>

<script>
import recommendlist from './recommend-list'
export default{
  name: 'recommend',
  props: {
    list: Array
  },
  components: {
    recommendlist
  },
  data () {
    return {
      DomTop: 0
    }
  }
}
</script>

<style lang="stylus" scoped>
  #recommend
    .title
      color #212121
      font-size: 18px;
      padding: 10px;
      border-bottom 1px solid #eee
      .img
        width: 20px;
        height: 20px;
        float left
        padding-right: 10px;
        img
          width: 100%;
</style>
